const path = require('path')
const webpack = require('webpack')
const ExtractTextPlugin = require('extract-text-webpack-plugin')

module.export = {
  entry:'./src/main.js',
  output:{
    path:path.resolve(_dirname,'./build'),
    filename:'build.js'
  },
  module:{
    loaders:[
      {
        test:'/.css$/',
        loaders:['style-loader','css-loader'],
        exclude:'/node_modules/'
      }
    ]
  },
  resolve:{
    extensions:['.css','.js','.less','.html','.png','.jsx']
  },
  devServer:{
        hot:true,
        inline:true
    }
}
